package com.pubinfo.passbook.common.model.dto.system;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class SyncLogListParam extends PageParamBase {
  
  @ApiModelProperty(value = "名称,字段 create_time")
  protected Integer name;
  @ApiModelProperty(value = "类型:0 财政电子票据,1 税务发票")
  protected Integer type;
  @ApiModelProperty(value = "开始时间")
  @JSONField(format = "yyyy-MM-dd HH:mm:ss.SSS")
  protected Date startDate;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss.SSS")
  @ApiModelProperty(value = "结束时间")
  protected Date endDate;
  
  @ApiModelProperty(value = "状态:0 查询失败 1查询成功,但保存失败 2 查询与保存成功")
  protected Integer status;
  
  @ApiModelProperty(value = "任务id")
  protected String taskId;
}
